package cn.bdqn.pojo;

public class Dept {
private  int deptno;
private String dname;
private String loc;
public int getDeptno() {
	return deptno;
}
@Override
public String toString() {
	return "DeptDao [deptno=" + deptno + ", dname=" + dname + ", loc=" + loc
			+ "]";
}
public String getDname() {
	return dname;
}
public Dept(){
	super();
}
public Dept(int deptno, String dname, String loc) {
	super();
	this.deptno = deptno;
	this.dname = dname;
	this.loc = loc;
}
public String getLoc() {
	return loc;
}
public void setDeptno(int deptno) {
	this.deptno = deptno;
}
public void setDname(String dname) {
	this.dname = dname;
}
public void setLoc(String loc) {
	this.loc = loc;
}
}
